<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page session="false" %>
<html>
<head>
	<title>Home</title>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<style>
	form input,textarea{
		display:block;
		margin:15px;
	}
</style>
<body>
<h1>
	Vlož dokument
</h1>
<p class="message"> ${message} </p>
<form method="post" action="insert.html">
	<label>
		Název dokumentu
	</label>
	<input type="text" name="name" value="Jm0no dokumentu" />
	<label>
		Typ dokumentu
	</label>
	<select name="typ">
		<option>
			PDF
		</option>
		<option>
			WORD
		</option>
	</select>
	<label>
		Obsah
	</label>
	<textarea name="content">
		${dokument.read()}
	</textarea>
	<input type="submit" value="vlozit" /> 
</form>
</body>
</html>
